/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.warehouse.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.warehouse.entity.Laborplan;
import com.thinkgem.jeesite.modules.warehouse.dao.LaborplanDao;

/**
 * laborplanService
 * @author qrg
 * @version 2017-08-10
 */
@Service
@Transactional(readOnly = true)
public class LaborplanService extends CrudService<LaborplanDao, Laborplan> {

	public Laborplan get(String id) {
		return super.get(id);
	}
	
	public List<Laborplan> findList(Laborplan laborplan) {
		return super.findList(laborplan);
	}
	
	public Page<Laborplan> findPage(Page<Laborplan> page, Laborplan laborplan) {
		return super.findPage(page, laborplan);
	}
	
	@Transactional(readOnly = false)
	public void save(Laborplan laborplan) {
		super.save(laborplan);
	}
	
	@Transactional(readOnly = false)
	public void delete(Laborplan laborplan) {
		super.delete(laborplan);
	}
	
}